package net.betou.cms.dao.assist;

import java.util.List;

import net.betou.cms.entity.assist.CmsFile;
import net.betou.common.hibernate3.Updater;

public interface CmsFileDao{
	public List< CmsFile > getList( Boolean valid );

	public CmsFile findById( Integer id );

	public CmsFile findByPath( String path );

	public CmsFile save( CmsFile bean );

	public CmsFile updateByUpdater( Updater< CmsFile > updater );

	public CmsFile deleteById( Integer id );

	public CmsFile deleteByPath( String path );

	public void deleteByContentId( Integer contentId );
}